package STUDENT.TranNamAnh.OOPs.Ex_1;

public class Controllers {
	private Models m_objModels;
	public boolean CheckUserInfo(UserObject objUser){
		
		//Khai bao va khoi tao doi tuong model
		m_objModels = new Models();
		
		// Dieu huong thuc thi nghiep vu kiem tra tk
		if(m_objModels.KiemTraTaiKhoan(objUser)){
			if(m_objModels.KiemTraTTKichHoat(objUser)){
				if(m_objModels.KiemTraTTKhoaMoTK(objUser)){
					if(m_objModels.KiemTraSoDuTK(objUser)){
						return true;
					}
					return false;
				}
				return false;
			}
			return false;
		}
		return false;
		
	}

}
